package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile    string `gorm:"type:char(11);not null;comment:账号"`
	Password  string `gorm:"type:char(32);not null;comment:密码"`
	HeadImage string `gorm:"type:varchar(500);not null;comment:头像"`
	RealName  string `gorm:"type:varchar(30);not null;comment:名称"`
	IdCard    int64  `gorm:"type:char(18);not null;comment:身份证号"`
	Name      string `gorm:"type:varchar(30);not null;comment:姓名"`
}
